package test;
class Student {
    private String name;
    private int age;

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }
}

public class Demo {
    public static void main(String[] args) {
        Student student = new Student("张三",18);
//        System.out.println(student);
        System.out.println(student.hashCode());
    }

}

